﻿#ifndef ALLTODOLISTS_H
#define ALLTODOLISTS_H

#include <QWidget>
#include <QVector>
#include <QGridLayout>
#include "todolist.h"
namespace Ui {
class AllTODOLists;
}

class AllTODOLists : public QWidget
{
    Q_OBJECT

public:
    explicit AllTODOLists(QWidget *parent = nullptr);
    ~AllTODOLists();
    void addList(TODOList);
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::AllTODOLists *ui;
    QMap<QString,TODOList> lists;
    QGridLayout *layout;
};

#endif // ALLTODOLISTS_H
